﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="wuc_ThemTaiKhoan.ascx.cs" Inherits="D1.Control.wuc_ThemTaiKhoan" %>
<style type="text/css">

    *{margin: 0px 1px 0px 0px; 
padding:0px
}
        .style2
        {
        width: 21%;
    }
    </style>

 <table cellpadding="10" cellspacing="10" id="FormLienKe" align="center">
        <tr>
            <td colspan="2" align="center">
                <h2>Thêm Tài Khoản Doanh Nghiệp</h2>
            </td>
        </tr>
        <tr>
            <td class="style2">
            Thông tin tài khoản</td>
            <td style="width: 70%">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
            Username: (*)</td>
            <td style="width: 70%">
            <asp:TextBox ID="txtUserName" runat="server" CssClass="inputtext" Height="35px" 
                Width="250px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                ControlToValidate="txtUserName" ErrorMessage="(*)"></asp:RequiredFieldValidator>
            <asp:Label ID="lberuser" runat="server" CssClass="labelerror" Text="error"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style2">
            Password: (*)</td>
            <td style="width: 70%">
            <asp:TextBox ID="txtPassword" runat="server" CssClass="inputtext" Height="35px" 
                TextMode="Password" Width="250px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtPassword" ErrorMessage="(*)"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style2">
            Confirm Password: (*)</td>
            <td style="width: 70%">
            <asp:TextBox ID="txtConfirmPassword" runat="server" CssClass="inputtext" 
                Height="35px" TextMode="Password" Width="250px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                ControlToValidate="txtConfirmPassword" ErrorMessage="(*)"></asp:RequiredFieldValidator>
            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ControlToCompare="txtPassword" ControlToValidate="txtConfirmPassword" 
                ErrorMessage="Cần nhập 2 Password giống nhau"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="style2">
            Email: (*)</td>
            <td style="width: 70%">
            <asp:TextBox ID="txtEmail" runat="server" CssClass="inputtext" Height="35px" 
                Width="250px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                ControlToValidate="txtEmail" ErrorMessage="(*)"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                ControlToValidate="txtEmail" ErrorMessage="Email không hợp lệ." 
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            <asp:Label ID="lberemail" runat="server" CssClass="labelerror" Text="error"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style2">
            Thông tin:</td>
            <td style="width: 70%">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
            Họ Tên : (*)</td>
            <td style="width: 70%">
            <asp:TextBox ID="txtHoTen" runat="server" CssClass="inputtext" Height="35px" 
                Width="250px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                ControlToValidate="txtHoTen" ErrorMessage="(*)"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style2">
            NickName :</td>
            <td style="width: 70%">
            <asp:TextBox ID="txtNickName" runat="server" CssClass="inputtext" Height="35px" 
                Width="250px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
            CMND: (*)</td>
            <td style="width: 70%">
            <asp:TextBox ID="txtCMND" runat="server" CssClass="inputtext" Height="35px" 
                Width="250px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                ControlToValidate="txtCMND" ErrorMessage="(*)"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                ControlToValidate="txtCMND" ErrorMessage="CMND không hợp lệ. Phải là số nhé." 
                ValidationExpression="\d{1,10}"></asp:RegularExpressionValidator>
            <asp:Label ID="lbercmnd" runat="server" CssClass="labelerror" Text="error"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style2">
            Điện Thoại :</td>
            <td style="width: 70%">
            <asp:TextBox ID="txtDienThoai" runat="server" CssClass="inputtext" 
                Height="35px" Width="250px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
            Địa Chỉ: (*) </td>
            <td style="width: 70%">
            <asp:TextBox ID="txtDiaChi" runat="server" CssClass="inputtext" Height="35px" 
                Width="250px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" 
                ControlToValidate="txtDiaChi" ErrorMessage="(*)"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td valign="top" class="style2">
                &nbsp;</td>
            <td >
            <asp:Button ID="btnSubmit" runat="server" CssClass="green button" 
                ForeColor="#FF9900" onclick="Button1_Click" SkinID="button" Text="Submit" />
                <br />
            <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        </table>



